Deprecate gtk_settings_install_property APIs
authorMatthias Clasen <mclasen@redhat.com>
Mon, 20 Oct 2014 02:33:24 +0000 (22:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 20 Oct 2014 02:33:24 +0000 (22:33 -0400)
These are not useful outside GTK+.

gtk/gtksettings.c
gtk/gtksettings.h

index 3144afa849f8dffc0fa5fa57dd33832a578fe64b..706d3171ac81e5da4e1cb8e5c9438b419d1ebc59 100644 (file)
@@ -2231,6 +2231,12 @@ _gtk_rc_property_parser_from_type (GType type)
     return NULL;
 }
 
+/**
+ * gtk_settings_install_property:
+ * @pspec:
+ *
+ * Deprecated: 3.16: This function is not useful outside GTK+.
+ */
 void
 gtk_settings_install_property (GParamSpec *pspec)
 {
@@ -2252,6 +2258,8 @@ gtk_settings_install_property (GParamSpec *pspec)
  * gtk_settings_install_property_parser:
  * @pspec:
  * @parser: (scope call):
+ *
+ * Deprecated: 3.16: This function is not useful outside GTK+.
  */
 void
 gtk_settings_install_property_parser (GParamSpec          *pspec,
index 4ff91bde7ee11bae24383df0731abbd7a826e6ab..95fe638937fd0e4cb267adc9b05ed4dcfb8cfbc0 100644 (file)
@@ -92,9 +92,9 @@ GtkSettings*    gtk_settings_get_default             (void);
 GDK_AVAILABLE_IN_ALL
 GtkSettings*    gtk_settings_get_for_screen          (GdkScreen *screen);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_16
 void            gtk_settings_install_property        (GParamSpec         *pspec);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_16
 void            gtk_settings_install_property_parser (GParamSpec         *pspec,
                                                       GtkRcPropertyParser parser);